<div class="loginField">
    <?php if ($this->session->flashdata('login_status')) : ?>
    <div class="submitError">
        <span>
            Incorrect Email/Password Combination
        </span>
    </div>
    <?php endif;?>
    <?php if ($this->session->flashdata('reg_success')) : ?>
    <div id="submitOk">
        <span>
            Registration successful, please login.
        </span>
    </div>
    <?php endif;?>
    <form action="<?php echo base_url(); ?>user/do_login" method="post" id="LoginModel">
        <div class="formField">
            <div class="formLabel">
                <label for="jajanU">
                    <span>Email</span>
                </label>
            </div>
            <input class="text" id="jajanU" name="email" type="email" />
        </div>
        <div class="formField">
            <div class="formLabel">
                <span>Password</span>
            </div>
            <input class="text" name="password" type="password" />
        </div>
        <div class="uic"> 
            <br> 
        </div>
        <div class="formSubmit">
            <input class="submit" value="Sign In" type="submit" />
        </div>
        <div class="formField">
            <div class="formLabel">
                Need a Jajan account?
                <br>
                <a href="<?php echo base_url();?>user/register">Sign up here</a>.
            </div>
        </div>
        
        <div class="uic"> 
            <br> 
        </div>
    </form>
</div>